package kr.saeildamil.androidstudy_second.br_service;

import kr.saeildamil.androidstudy_second.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch2930Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch2930_main);
	}
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch2930_main_btn1:
			intent.setClass(this, NapEnd.class);
			break;
		case R.id.ch2930_main_btn2:
			intent.setClass(this, NapAlarm.class);
			break;
		case R.id.ch2930_main_btn3:
			intent.setClass(this, DetectFree.class);
			break;
		case R.id.ch2930_main_btn4:
			intent.setClass(this, DetectSaveZone.class);
			break;
		case R.id.ch2930_main_btn5:
			intent.setClass(this, OnSaveZone.class);
			break;
		case R.id.ch2930_main_btn6:
			intent.setClass(this, AlarmTest.class);
			break;
		case R.id.ch2930_main_btn7:
			intent.setClass(this, MusicServiceTest.class);
			break;
		case R.id.ch2930_main_btn8:
			intent.setClass(this, NewsIntentServiceTest.class);
			break;
		case R.id.ch2930_main_btn9:
			intent.setClass(this, BoundServiceTest.class);
			break;
		case R.id.ch2930_main_btn10:
			intent.setClass(this, MessengerServiceTest.class);
			break;
	
	
			
		}
		startActivity(intent);
	}
}
